#include <REGX52.H>
#include "Delay.h"
#include "MatrixLED.h"
unsigned int DongHua[]={
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xFF,0x10,0x10,0x10,0xFF,0x00,0x1F,0x25,
0x25,0x25,0x3D,0x01,0x00,0x7F,0x01,0x01,
0x00,0x7F,0x01,0x01,0x00,0x1E,0x21,0x21,
0x1E,0x00,0x00,0x7D,0x00,0x00,0x00,0x00,
};
void main()
{  unsigned char i,Plus=0,a=0;
	 MatrixLED_Init();
	while(1)
	{
		
	    for(i=0;i<8;i++)
		{
			MatrixLED_Show(DongHua[i+Plus],i);
		}
		a++;
		if(a>20)
		{
			a=0;
			Plus++;
		}
		if(Plus>32)
		{
			Plus=0;
		}
	}
}